package com.rkc.feign;

import com.rkc.request.NewUserCouponRequest;
import com.rkc.utils.JsonData;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author `RKC`
 * @date 2021/11/4 15:39
 */
@FeignClient(name = "shopping-coupon-service", path = "/api/coupon/v1")
public interface CouponFeignService {

    @PostMapping("new_user_coupon")
    JsonData addNewUserCoupon(@RequestBody NewUserCouponRequest newUserCouponRequest);
}
